package tag24_12_08.exception;

public class Ex11_PropagierenUndAbfangen {

	static void methodA(){
		if( true ) throw new RuntimeException(); 
		System.out.println("Zeile A1"); 
	}
	
	static void methodB(){
		
		try{
			methodA();
			System.out.println("Zeile B1");
		}catch(RuntimeException e){
			System.out.println("Zeile B2");
		}
		System.out.println("Zeile B3");
	}
	
	
	public static void main(String[] args) {
		
		methodB();
		
		System.out.println("Zeile C1");

	}

}
